﻿using UnityEngine;
using System.Collections;

public class CloneBehaviourTwo : MonoBehaviour {
	private float m_cloneTimer = 0.0f;
	private float m_cloneTimerStart = 0.0f;

	// Use this for initialization
	void Start (){
		m_cloneTimerStart = (float)new System.Random ().Next (3, 10) * 1000;
		m_cloneTimer = m_cloneTimerStart;
	}
	
	// Update is called once per frame
	void Update () {
		m_cloneTimer -= Time.deltaTime;

		if (m_cloneTimer < 0.0f) {
			m_cloneTimer = m_cloneTimerStart - m_cloneTimer;
		}
	}

	private void Clone(){
/*		Transform transform = Instantiate (this,
		                                  this.transform.position + new Vector3 (0, 1, 0), //fix this position to be slightly of in the angular direction.
		                                  Quaternion.identity);
*/
}
}
